home *** CD-ROM | disk | FTP | other *** search
- stop();
- this.onEnterFrame = function()
- {
- if(this.hittest(_root.p1.p1.targetZone))
- {
- _root.p1.p1.play();
- _root.p1.b1 = false;
- _root.score = _root.score + 1;
- gotoAndPlay(2);
- }
- if(this.hittest(_root.p2.p1.targetZone))
- {
- _root.p2.p1.play();
- _root.p2.b1 = false;
- _root.score = _root.score + 1;
- gotoAndPlay(2);
- }
- if(this.hittest(_root.p2.p2.targetZone))
- {
- _root.p2.p2.play();
- _root.p2.b2 = false;
- _root.score = _root.score + 1;
- gotoAndPlay(2);
- }
- if(this.hittest(_root.p3.p1.targetZone))
- {
- _root.p3.p1.play();
- _root.p3.b1 = false;
- _root.score = _root.score + 1;
- gotoAndPlay(2);
- }
- if(this.hittest(_root.p3.p2.targetZone))
- {
- _root.p3.p2.play();
- _root.p3.b2 = false;
- _root.score = _root.score + 1;
- gotoAndPlay(2);
- }
- if(this.hittest(_root.p3.p3.targetZone))
- {
- _root.p3.p3.play();
- _root.p3.b3 = false;
- _root.score = _root.score + 1;
- gotoAndPlay(2);
- }
- if(this.hittest(_root.p4.p1.targetZone))
- {
- _root.p4.p1.play();
- _root.p4.b1 = false;
- _root.score = _root.score + 1;
- gotoAndPlay(2);
- }
- };
-